package rs.dalao.syc.user.all.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("syc_user_info")
public class UserPersonal implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private Long age;
    private String gender;
    private Double weight;
    //过敏史
    private String allergy;
    private String medicHistory;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;//数据创建日期

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtModified;//数据修改日期
}
